<html xmlns:th="http://www.thymeleaf.org">
<th:block th:fragment="goods_gallery"> 
    <div class="picture" id="imglist">
        <a th:if="${pictures}"  th:each="item : ${pictures}" th:href="${item.img_url}" rel="zoom1" th:rev="${item.img_url}" title="" style="outline: 0px;">
            <img th:src="${item.img_url}" th:alt="${item.alt}" class="autobg">
        </a>
    </div>
    <script type="text/javascript">
        mypicBg();
    </script>
</th:block>

</html>